ATI Industrial Automation   ATICombinedDAQFT .NET Class Library  

Visit our website.

StartBufferedAcquisition( deviceName, Double sampleFrequency, Integer averaging, Integer firstChannel, Boolean useTempComp, Integer bufferSize ) As Integer

Starts the buffered acquisition, which allows you to collect high-speed data.

In order to preserve data continuity, once buffered data collection is started, you should not call any functions which will cause a hardware read to occur, other than ReadBufferedFTRecords.

Specifically, if you wish to bias the F/T readings, you should not call BiasCurrentLoad after calling StartBufferedAcquisition. In order to bias the buffered F/T data, it is recommended that you first start a single sample acquisition using StartSingleSampleAcquisition with the same sample rate you wish to collect buffered data at, and call BiasCurrentLoad before you start the buffered data collection. You can see an example of this method in the ATICombinedDAQFT Getting Started topic, in the "Reading Buffered Data" example. If you cannot do this, you should call BiasKnownLoad while buffered acquisition is running, since that function does not cause a hardware read.

Arguments

deviceName

In: The name of the device which the transducer is connected to.

sampleFrequency

In: The frequency at which to sample the transducer voltages. Divide this number by the averaging value to get the effective (actual) sample rate.

averaging

In: The size of the averaging filter. Divide the hardware sample rate by this number to get the effective sample rate.

firstChannel

In: The lowest-numbered channel to which the transducer is attached. The ATICombinedDAQFT class library assumes that the transducer is atached to sequential channels, with gauge 0 connected to the lowest-numbered channel, gauge 1 attached to the next lowest-numbered channel, and so on. If software temperature compensation is used, the thermistor should be attached to the next lowest-numbered channel after gauge 5. If you bought your F/T system including cables from ATI, the channels are probably already in the correct order.

useTempComp

In: True if you wish to use software temperature compensation, False otherwise. If software temperature compensation is not available with the loaded calibration, setting this argument to True will not affect the force and torque values, but it will include the thermistor channel in all scans of the hardware, lowering the maximum sample rate.

bufferSize

In: The number of output samples you wish to hold in the buffer.

Returns

0 if successful, -1 otherwise.

See Also

ReadBufferedFTRecords